package com.mit.wx.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 2018/10/20 Create by 郭文梁
 * AdminConfiguration
 * 初始化管理员配置
 *
 * @author 郭文梁
 * @date 2018/10/20
 */
@Component
@Data
@ConfigurationProperties(prefix = "admin")
public class AdminConfiguration {
    private String name;
    private String password;
}
